7.5
HIGH CVSS 4.0
CVE-2024-52005
Git ANSI Escape Sequence Injection Vulnerability
Description

Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called "sideband channel". These messages will be prefixed with "remote:" and printed directly to the standard error output. Typically, this standard error output is connected to a terminal that understands ANSI escape sequences, which Git did not protect against. Most modern terminals support control sequences that can be used by a malicious actor to hide and misrepresent information, or to mislead the user into executing untrusted scripts. As requested on the git-security mailing list, the patches are under discussion on the public mailing list. Users are advised to update as soon as possible. Users unable to upgrade should avoid recursive clones unless they are from trusted sources.

INFO

Published Date :

Jan. 15, 2025, 6:15 p.m.

Last Modified :

Jan. 15, 2025, 6:15 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-52005 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Git git
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 HIGH [email protected]
Solution
Update Git packages to address the ANSI escape sequence injection vulnerability.
  • Update the affected Git packages.
  • Avoid recursive clones from untrusted sources.
Public PoC/Exploit Available at Github

CVE-2024-52005 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-52005.

URL Resource
https://github.com/git/git/security/advisories/GHSA-7jjc-gg6m-3329
https://lore.kernel.org/git/[email protected]
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-52005 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 6 days, 16 hours ago
0 stars 0 fork 0 watcher
Born at : Aug. 18, 2025, 8:30 p.m. This repo has been linked 56 different CVEs too.

None

HTML

Updated: 2 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : Aug. 10, 2025, 11:47 a.m. This repo has been linked 56 different CVEs too.

None

HTML

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : May 19, 2025, 6:19 p.m. This repo has been linked 49 different CVEs too.

None

HTML CSS

Updated: 5 months ago
0 stars 0 fork 0 watcher
Born at : March 3, 2025, 2:25 p.m. This repo has been linked 49 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-52005 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-52005 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Jan. 15, 2025

    Action Type Old Value New Value
    Added Description Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called "sideband channel". These messages will be prefixed with "remote:" and printed directly to the standard error output. Typically, this standard error output is connected to a terminal that understands ANSI escape sequences, which Git did not protect against. Most modern terminals support control sequences that can be used by a malicious actor to hide and misrepresent information, or to mislead the user into executing untrusted scripts. As requested on the git-security mailing list, the patches are under discussion on the public mailing list. Users are advised to update as soon as possible. Users unable to upgrade should avoid recursive clones unless they are from trusted sources.
    Added CVSS V4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-116
    Added CWE CWE-150
    Added Reference https://github.com/git/git/security/advisories/GHSA-7jjc-gg6m-3329
    Added Reference https://lore.kernel.org/git/[email protected]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability